home *** CD-ROM | disk | FTP | other *** search
- on handleMouseDown
- global gvQuitSprite, gvVolumeSprite, gvCreditSprite, gvFirstKingSprite, gvBunjiSprite, gvFirstLocaleSprite, gvLastLocaleSprite
- set vClickedSprite to the clickOn
- set vMouseV to the mouseV
- set the mouseDownScript to EMPTY
- cursor(200)
- if vClickedSprite = gvQuitSprite then
- quitPants()
- else
- if (vClickedSprite >= gvFirstKingSprite) and (vClickedSprite <= gvBunjiSprite) then
- handleClickChar(vClickedSprite)
- else
- set the mouseDownScript to "handleMouseDown"
- cursor(0)
- end if
- end if
- end
-